<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<h2>Outcome:</h2>
			<strong>Book: <c:out value="${outcome.book.bookClass.name}" /></strong><br /> 
			<strong>With id: </strong><c:out value="${outcome.book.id}" /><br /> 
			<strong>To user: </strong><c:out value="${outcome.user.name}" /><br />
			<fmt:formatDate value="${outcome.startDate}" var="startDate" pattern="dd/MM/yyyy" /> 
			<strong>From date: </strong><c:out value="${startDate}" /><br />
			<fmt:formatDate value="${outcome.returnDate}" var="returnDate" pattern="dd/MM/yyyy" />
			<strong>To date: </strong><c:out value="${returnDate}" /><br />
			<strong>Mortgage: </strong><c:out value="${outcome.book.bookClass.mortgage}" /><br />
			<strong>Rent price: </strong><c:out value="${price}" /><br />
			<strong>Sum: </strong><c:out value="${outcome.book.bookClass.mortgage+price}" /><br /> 
<h3><spring:url value="/admin/delete_outcome?id=${outcome.id}" var="mainpage_url" />
<a href="${mainpage_url}">Cancel order</a></h3>

